<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>发帖</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="css/common.css" />
    <link rel="stylesheet" type="text/css" href="css/dl_bbspost.css" />
    <style>
        /* .img_plusbox {
    width: 3.5rem;
    height: 3.5rem;
    background: #F6FBFF;
    text-align: center;
    border-radius:6px;
    padding-top: 0.3rem;
}

.img_plusbox .iconfont {
    font-size: 2rem;
    color: #bbb;
}
.img_plusbox img {
    width: 40px;
    margin: 0 auto;
    height: 40px;
    margin-top: 10%;

}
.imglist_item {
    width: 46%;
    float: left;
    margin: 2%;
    color: #ddd;
    position: relative;
    font-size: 0.65rem;
}
.imglist_item span{
  font-size: 0.65rem;
  padding-top: 5px;
}
.imglist_item img {
    width: 100%;
    height: auto;
    margin-left: 14px;
    overflow: hidden;
}

.imglist_item .iconfont.iconremove {
    font-size: 0.6rem;
    color: #f00;
    position: absolute;
    top: 0rem;
    right:1.9rem;
}

.img_plusbox {
    width: 3.5rem;
    height: 3.5rem;
    background: #F6FBFF;
    text-align: center;
    border-radius:6px;
    padding-top: 0.3rem;
}

.img_plusbox .iconfont {
    font-size: 2rem;
    color: #bbb;
}
.img_plusbox img {
    width: 40px;
    margin: 0 auto;
    height: 40px;
    margin-top: 10%;

}
.imglist_box {
  margin: 10px;
}
img.onmouse_close{
    width: 20px;
    height: 20px;
    position: absolute;
    top: -0.4rem;
    right:1.1rem;
} */
    </style>
</head>

<body>
    <div id="app" v-cloak>
        <div class="aui-content aui-margin-b-15">
            <div class="category_tags btn_line">
                <h3>选择标签</h3>
                <label v-for="item in categorylist" v-bind:class="{'active':item.selected}" v-on:click="do_tag_select(item)"># {{item.title}} #</label>
            </div>
            <div>
                <ul class="aui-list aui-media-list" style="margin-top:10px;">
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div>
                                <textarea v-model="form.content" style="height: 5rem; padding:0px 0px 0px 5px;" placeholder="请填写内容">
                                </textarea>
                            </div>
                            <div class="imglist_box" style="padding-top: 30px;">
                                <div class="imglist_item" v-for="(item,index) in imglist" style="background: #f0f0f0;">
                                    <img v-on:click="do_viewimages(index)" class="imgitem ml4" v-bind:src="item.url" />
                                    <img v-on:click="remove_img(item.index)" class="onmouse_close" src="../image/close_mouseover.svg" />
                                </div>
                                <div v-if="imglist.length<4" class="imglist_item ml4">
                                    <div class="img_plusbox">
                                        <i  v-on:click="choose_picture()" class="icon iconfont icon-icon_xiangji-mian"></i>
                                        <!-- <img v-on:click="choose_picture()" src="../image/photo_image.svg" /> -->
                                    </div>
                                    最多4张
                                </div>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>

            <!-- <div class="borderline"></div> -->
            <!-- <div v-on:click="do_insert(-1)" class="content_add" v-if="list.length==0">
                <label>点击添加内容</label>
            </div>
            <ul class="aui-list aui-media-list" style="margin-top:10px;" v-for="(item,index) in list">
                <li class="aui-list-item">
                    <div class="aui-list-item-inner">
                        <div v-if="item.type=='text'">
                            <textarea v-model="item.content" style="height: 5rem; padding:0px 0px 0px 5px;" placeholder="请填写内容">
                            </textarea>
                        </div>
                        <div v-if="item.type=='image'">
                            <img v-bind:src="item.content">
                        </div>
                        <div class="content_bottom">
                            <label v-on:click="do_remove(item,index)">删除</label>
                            <label v-if="index>0" v-on:click="do_upper(index)">上移</label>
                            <label v-on:click="do_insert(index)">插入</label>
                        </div>
                    </div>
                </li>
            </ul> -->
            <div class="bottom_box">
                <div class="xieyi">点击发布，即表示同意<span v-on:click="do_view_agree(1)">《用户服务协议》</span>和<span v-on:click="do_view_agree(1)">《隐私协议》</span></div>
                <div class="aui-btn aui-btn-block bottombtn" v-on:click="do_save()">提交</div>
                
            </div>
        </div>
    </div>
</body>
<script type="text/javascript " src="../script/api.js"></script>
<script type="text/javascript " src="../script/vue.js"></script>
<script type="text/javascript" src="../script/config.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript" src="../script/aui-actionsheet.js"></script>
<script type="text/javascript" src="../script/mui/mui.min.js"></script>
<script type="text/javascript" src="../script/mui/mui.picker.min.js"></script>
<script type="text/javascript" src="../script/mui/mui.poppicker.js"></script>
<script type="text/javascript " src="js/dl_bbspost.js"></script>

</html>
